@import 'variables';
$bar-height:50px;
$main-height:calc(100vh - #{$bar-height});
$db-height:calc(100vh - #{$bar-height});

.el-header,
.el-footer {
	color: map-get($colors, 'white');
	height: $bar-height !important;
}

.el-header {
	background-color: map-get($colors, 'blue');

	&.system,
	&.dashboard {
		background-color: $color-background-b;
	}
}

.el-footer {
	background-color: $color-background-b;
}

.el-aside,
.el-main {
	color: $color-text-primary;
	text-align: center;
	height: $main-height;
	padding: 15px !important;

	.main-content {
		$gutter: 15px;
		height: calc(100% - 30px - #{$gutter});
		background-color: map-get($colors, 'white');
		margin-top: $gutter;
	}
}

.el-aside {
	background-color: map-get($colors, 'white');
}

.el-main {
	background-color: #E9EEF3;
}
.dashboard-layout,
.user-layout{
	.el-main {
		height: $db-height;
	}
}